Platform Explorer / Nuxeo Platform 11.3

Extension point hibernate

Documentation

This service uses hibernate as JPA provider. This extension point lets you override the default hibernate configuration.

Contribution Descriptors

  • Class: org.nuxeo.ecm.core.persistence.HibernateConfiguration

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-audit-core-11.3.56.jar /OSGI-INF/nxaudit-persistence-config.xml
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="nxaudit-logs">
          <datasource>nxaudit-logs</datasource>
          <properties>
            <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>
  • nuxeo-platform-uidgen-core-11.3.56.jar /OSGI-INF/uidgenerator-contrib.xml
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="NXUIDSequencer">
          <datasource>nxuidsequencer</datasource>
          <properties>
            <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>